import {request} from '@/utils/request'
import type {CategoryVo} from "./types.ts"



export const getCategoryPanelApi = (query?: any):any => {
  return request<CategoryVo[]>({
    url: '/api/goods/category/list',
    method: 'GET',
    data: {query}
  })
}